package com.ruoyi.parameter.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 户参数修改对象 house_door_t
 *
 * @author tyq
 * @date 2023-04-25
 */
public class HouseDoorParameterT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 户编号 */
    private Long doorId;

    /** 户参数修改编号 */
    private Long doorParameterId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String areaName;

    /** 楼宇名称 */
    @Excel(name = "楼宇名称")
    private String groupName;

    /** 单元名称 */
    @Excel(name = "单元名称")
    private String unitName;

    /** 户名称 */
    @Excel(name = "户名称")
    private String doorName;

    /** 面积(原) */
    @Excel(name = "面积(原)")
    private Double spacePre;

    /** 用途(原) */
    @Excel(name = "用途(原)")
    private Long purposePre;

    /** 用途(原) */
    @Excel(name = "用途(原)")
    private Long purposeIdPre;

    @Excel(name = "维修资金系数")
    private Double purposeMoney;
    @Excel(name = "建筑成本")
    private Double buildMoney;
    @Excel(name = "应缴金额")
    private Double budgetMoney;

    /** 房屋编号 */
    @Excel(name = "房屋编号")
    private String houseId;

    /** 面积 */
    @Excel(name = "面积")
    private Double space;

    /** 用途名称 */
    @Excel(name = "用途名称")
    private String purposeName;

    /** 房屋用途id */
    private Long purposeId;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("doorId", getDoorId())
                .append("parameter",getDoorParameterId())
                .append("areaName", getAreaName())
                .append("groupName", getGroupName())
                .append("unitName", getUnitName())
                .append("doorName", getDoorName())
                .append("houseId", getHouseId())
                .append("space", getSpace())
                .append("",getPurposeIdPre())
                .append("spacePre",getSpacePre())
                .append("purposePre",getPurposePre())
                .append("purposeName",getPurposeName())
                .toString();
    }

    public Long getDoorId() {
        return doorId;
    }

    public void setDoorId(Long doorId) {
        this.doorId = doorId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getPurposeName() {
        return purposeName;
    }

    public void setPurposeName(String purposeName) {
        this.purposeName = purposeName;
    }

    public Long getPurposeId() {
        return purposeId;
    }

    public void setPurposeId(Long purposeId) {
        this.purposeId = purposeId;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getDoorParameterId() {
        return doorParameterId;
    }

    public void setDoorParameterId(Long doorParameterId) {
        this.doorParameterId = doorParameterId;
    }

    public Long getPurposePre() {
        return purposePre;
    }

    public void setPurposePre(Long purposePre) {
        this.purposePre = purposePre;
    }

    public Long getPurposeIdPre() {
        return purposeIdPre;
    }

    public void setPurposeIdPre(Long purposeIdPre) {
        this.purposeIdPre = purposeIdPre;
    }

    public Double getPurposeMoney() {
        return purposeMoney;
    }

    public void setPurposeMoney(Double purposeMoney) {
        this.purposeMoney = purposeMoney;
    }

    public Double getBuildMoney() {
        return buildMoney;
    }

    public void setBuildMoney(Double buildMoney) {
        this.buildMoney = buildMoney;
    }

    public Double getBudgetMoney() {
        return budgetMoney;
    }

    public void setBudgetMoney(Double budgetMoney) {
        this.budgetMoney = budgetMoney;
    }

    public Double getSpace() {
        return space;
    }

    public void setSpace(Double space) {
        this.space = space;
    }

    public Double getSpacePre() {
        return spacePre;
    }

    public void setSpacePre(Double spacePre) {
        this.spacePre = spacePre;
    }
}
